<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
    <link href="../static/ruoyi/css/ry-ui.css" th:href="@{/ruoyi/css/ry-ui.css?v=4.0.0}" rel="stylesheet"/>
    <link href="../static/css/style.css" th:href="@{/css/style.css}" rel="stylesheet"/>
    <link href="../static/js/lingshui/bootstrap-table/bootstrap-table.min.css" th:href="@{/js/lingshui/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
	<link href="../static/css/workboard.css" th:href="@{/css/workboard.css}" rel="stylesheet"/>
</head>

<body>
    <div class="container-div">
        <div class="tabsbody ">
            <div class="tabsbody-item active">
                <form action="">
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 80%;margin:0 auto">
                        <tbody>
                            <tr>
                                <td>
                                    <div class="page-title">
                                        <span>施工图审查申请信息</span>
                                    </div>
                                </td>

                            </tr>
                            <tr>
                                <td style="text-align: right;">编号：[[${cd.AcceptedNo}]]</td>
                            </tr>
                            <tr>
                                <td>
                                    <table class="table table-bordered"
                                        style="table-layout: fixed; width: 100%;word-break:break-all;background-color: #ffffff;">
                                        <tbody>
                                            <tr>
                                                <td class="tdTitle">审查项目 </td>
                                                <td colspan="4" class="tdContent" th:text="${cd}==null ? '未填写':${cd.ProjectName}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">工程名称</td>
                                                <td colspan="4" class="tdContent" th:text="${cd}==null ? '未填写':${cd.TaskName}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">审查机构</td>
                                                <td colspan="4" class="tdContent" th:text="${cd}==null ? '未填写':${cd.ReviewUnitName}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" rowspan="2">可再生能源<br> 建筑应用面积
                                                </td>
                                                <td class="tdTitle">居住(㎡)</td>
                                                <td class="tdTitle">公共(㎡)</td>
                                                <td class="tdTitle">其它(㎡)</td>
                                                <td class="tdTitle">合计(㎡)</td>
                                            </tr>
                                            <tr>
                                                <td class="tdContent" th:text="${wbc}==null ? '未填写':${wbc.usableLiveArea}"></td>
                                                <td class="tdContent" th:text="${wbc}==null ? '未填写':${wbc.usablePublicArea}"></td>
                                                <td class="tdContent" th:text="${wbc}==null ? '未填写':${wbc.usableOhterArea}"></td>
                                                <td class="tdContent" th:text="${wbc}==null ? '未填写':${wbc.usableTotalArea}"></td>

                                            </tr>
                                            <tr>
                                                <td class="tdTitle" rowspan="2">绿色建筑面积</td>
                                                <td class="tdTitle">居住(㎡)</td>
                                                <td class="tdTitle">公共(㎡)</td>
                                                <td class="tdTitle">其它(㎡)</td>
                                                <td class="tdTitle">合计(㎡)</td>
                                            </tr>
                                            <tr>
                                                <td class="tdContent" th:text="${wbc}==null ? '未填写':${wbc.greenLiveArea}"></td>
                                                <td class="tdContent" th:text="${wbc}==null ? '未填写':${wbc.greenPublicArea}"></td>
                                                <td class="tdContent" th:text="${wbc}==null ? '未填写':${wbc.greenOhterArea}"></td>
                                                <td class="tdContent" th:text="${wbc}==null ? '未填写':${wbc.greenTotalArea}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" rowspan="2">装配式建筑面积
                                                </td>
                                                <td class="tdTitleCenter">
                                                    <span>居住(㎡)</span>
                                                    <span>公共(㎡)</span>
                                                </td>
                                                <td class="tdTitleCenter"><span>其它(㎡)</span>
                                                    <span>合计(㎡)</span></td>
                                                <td class="tdTitle">装配率</td>
                                                <td class="tdTitle">装配方式</td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitleCenter"><span th:text="${wbc}==null ? '未填写':${wbc.fabricatedLiveArea}"></span>
                                                    <span th:text="${wbc}==null ? '未填写':${wbc.fabricatedPublicArea}"></span></td>
                                                <td class="tdTitleCenter"><span th:text="${wbc}==null ? '未填写':${wbc.fabricatedOhterArea}"></span>
                                                    <span th:text="${wbc}==null ? '未填写':${wbc.fabricatedTotalArea}"></span></td>
                                                <td class="tdContent" th:text="${wbc}==null ? '未填写':${wbc.assemblyRate}"></td>
                                                <td class="tdContent" th:text="${wbc}==null ? '未填写':${wbc.fabricatedMethod}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle" rowspan="2">太阳能应用情况</td>
                                                <td class="tdTitleCenter">
                                                    <span>应用类型</span>
                                                    <span>应用面积(㎡)</span>
                                                </td>
                                                <td class="tdTitleCenter"><span>集热器面积(㎡)</span>
                                                    <span>集热器类型</span></td>
                                                <td class="tdTitle" rowspan="2">其它应用面积</td>
                                                <td class="tdTitleCenter"><span>应用方式</span>
                                                    <span th:text="${wbc}==null ? '未填写':${wbc.otherApplicationMode}"></span></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitleCenter"><span th:text="${wbc}==null ? '未填写':${wbc.applicationType}"></span>
                                                    <span th:text="${wbc}==null ? '未填写':${wbc.applicationArea}"></span></td>
                                                <td class="tdTitleCenter"><span th:text="${wbc}==null ? '未填写':${wbc.collectHotArea}"></span>
                                                    <span th:text="${wbc}==null ? '未填写':${wbc.collectHotType}"></span></td>
                                                <td class="tdTitleCenter"><span>其它应用面积(㎡)</span>
                                                    <span th:text="${wbc}==null ? '未填写':${wbc.otherApplicationArea}"></span></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">审查内容 </td>
                                                <td colspan="4" class="tdContent" th:text="${wbc}==null ? '未填写':${wbc.reviewContent}"></td>
                                            </tr>
                                            <!-- 单位工程开始 -->
                                            <tr th:if="${wdUnitProList != null && wdUnitProList.size()!=0}" th:each="wdUnitPro,stat : ${wdUnitProList}">
                                            	<td colspan="5">
                                            		<table style="width: 100%;" cellpadding="0" cellspacing="0" align="center">
													    <tbody>
													    	<tr>
				                                                <td colspan="5" class="tdTitle" th:text="${stat.count}"></td>
				                                            </tr>
				                                            <tr>
				                                                <td class="tdTitle">单位工程名称</td>
				                                                <td colspan="2" class="tdContent" th:text="${wdUnitPro.UnitProjectName}"></td>
				                                                <td class="tdTitleCenter"><span>工程类型</span>
				                                                    <span th:text="${wdUnitPro.BuildForm}"></span></td>
				                                                <td class="tdTitleCenter"><span>工程性质</span>
				                                                    <span th:text="${wdUnitPro.ProjType}"></span></td>
				                                            </tr>
				                                            <tr>
				                                                <td class="tdTitle">结构形式</td>
				                                                <td colspan="2" class="tdContent" th:text="${wdUnitPro.StructForm}">框架-剪力墙 </td>
				                                                <td class="tdTitleCenter"><span>投资总额(万元)</span>
				                                                    <span th:text="${wdUnitPro.TotalInvest}"></span></td>
				                                                <td class="tdTitleCenter"><span>是否人防</span>
				                                                    <span th:text="${wdUnitPro.IsDefend}==1 ? '是':'否'"></span></td>
				                                            </tr>
				                                            <tr>
				                                                <td class="tdTitle">是否超限高层</td>
				                                                <td colspan="2" class="tdTitleCenter"><span class="three" th:text="${wdUnitPro.IsLimit==1 ? '是':'否'}"></span>
				                                                    <span class="three borderl">建筑物高度(m)</span><span
				                                                        class="three" th:text="${wdUnitPro.Category}"></span></td>
				                                                <td class="tdTitleCenter"><span>专项审查意见书号</span>
				                                                    <span th:text="${wdUnitPro.LimitCertID}"></span></td>
				                                                <td class="tdTitleCenter"><span>是否深基坑或高边坡</span>
				                                                    <span th:text="${wdUnitPro.IsDeepPit==1 ? '是':'否'}"></span></td>
				                                            </tr>
				                                            <tr>
				                                                <td rowspan="2" class="tdTitle">总建筑面积(㎡)</td>
				                                                <td rowspan="2" class="tdTitle tdTitlethe" th:text="${wdUnitPro.TotalArea}"></td>
				                                                <td class="tdTitleCenter">
				                                                    <span>地上面积(㎡)</span><span th:text="${wdUnitPro.UpArea}"></span></td>
				                                                <td rowspan="2" class="tdTitleCenter"><span>总层数</span>
				                                                    <span th:text="${wdUnitPro.TotalLayer}"></span></td>
				                                                <td class="tdTitleCenter"><span>地上层数</span>
				                                                    <span th:text="${wdUnitPro.UpLayer}"></span></td>
				                                            </tr>
				                                            <tr>
				                                                <td class="tdTitleCenter"><span>地下面积(㎡)</span>
				                                                    <span th:text="${wdUnitPro.DownArea}"></span></td>
				                                                <td class="tdTitleCenter"><span>地下层数</span>
				                                                    <span th:text="${wdUnitPro.DownLayer}"></span></td>
				                                            </tr>
													    </tbody>
												    </table>
                                            	</td>
                                            	
                                            </tr>
                                            
                                            <!-- 项目其他情况 -->
                                            <tr>
                                                <td colspan="5" class="tdTitle"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">项目其他概况 </td>
                                                <td class="tdContent" colspan="4" th:text="${cd}==null ? '未填写':${cd.Description}"></td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">规划许可证号 </td>
                                                <td class="tdContent" th:text="${cd}==null ? '未填写':${cd.LicenseNum}"></td>
                                                <td class="tdTitle">规划许可证扫描件</td>
                                                <td colspan="2" class="tdContent" th:if="${cd!=null && cd.LicenseNumImage!='' && cd.LicenseNumImage!=null}"><a style="color:#0026FF;" rel="noopener noreferrer" th:href="${cd.LicenseNumImage}" target="_blank">下载 </a></td>
                                                <td colspan="2" class="tdContent" th:if="${cd==null || cd.LicenseNumImage=='' || cd.LicenseNumImage==null}" style="color:Gray;">未上传附件 </td>
                                            </tr>
                                            <tr>
                                                <td class="tdTitle">工程等级 </td>
                                                <td class="tdContent" th:text="${cd}==null ? '未填写':${cd.EngineeringGrade}"></td>
                                                <td class="tdTitle">建设地点</td>
                                                <td colspan="2" class="tdContent" th:text="${cd}==null ? '未填写':${cd.BuildLocation}"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                            <!-- 建设单位 勘察单位 -->
                            <tr>
                               <td>
                                	<table class="table table-bordered" cellspacing="1" cellpadding="0" rules="all" border="0" style="table-layout: fixed; width: 100%;word-break:break-all;background-color: #ffffff;">
                                        <tbody>
                                        	<tr>
                                        		<td class="tdTitle">建设单位</td>
                                        		<td colspan="4" style="padding:0">
                                        			<table class="table" cellspacing="1" cellpadding="0" rules="all" border="0" style="table-layout: fixed; width: 100%;word-break:break-all;background-color: #ffffff;">
                                        				<tbody>
                                        					<div th:if="${cd != null && cd.relatedBuildUnitsList !=null && cd.relatedBuildUnitsList.size()!=0}" th:each="rbu,stat : ${cd.relatedBuildUnitsList}">
	                                        					<tr>
					                                        		<td class="tdContent">
								                                       <span>单位名称</span>
								                                    </td>
								                                    <td class="tdContent">
								                                        <span>
								                                        	<a th:if="${rbu == null || rbu.Guid == '' || rbu.Guid == null}" style="color:Gray;">未填写</a>
                                                							<a th:if="${rbu != null && rbu.Guid != '' && rbu.Guid != null}" href="#" th:onclick="detailBuildTab([[${rbu.Name}]],[[${rbu.Guid}]])" style="color:#0026FF;">[[${rbu.Name}]]</a>
								                                        </span>
								                                    </td>
								                                    <td class="tdContent">
								                                        <span>联系人</span>
								                                    </td>
								                                    <td class="tdContent">
								                                        <span th:text="${rbu}==null or ${rbu.LinkMan}=='' or ${rbu.LinkMan}==' ' ? '未填写':${rbu.LinkMan}"></span>
								                                    </td>
					                                        	</tr>
					                                        	<tr>
								                                    <td class="tdContent"><span>联系电话</span></td>
								                                    <td class="tdContent">
								                                        <span th:text="${rbu}==null or ${rbu.LinkTel}=='' or ${rbu.LinkTel}==' ' ? '未填写':${rbu.LinkTel}"></span>
								                                    </td>
								                                    <td class="tdContent"><span>联系人邮箱</span></td>
								                                    <td class="tdContent">
								                                        <span th:text="${rbu}==null or ${rbu.LinkEMail}=='' or ${rbu.LinkEMail}==' ' ? '未填写':${rbu.LinkEMail}"></span>
								                                    </td>
								                                </tr>
                                        					</div>
                                        					<div th:if="${cd == null || cd.relatedBuildUnitsList ==null || cd.relatedBuildUnitsList.size()==0}">
	                                        					<tr>
					                                        		<td class="tdContent">
								                                       <span>单位名称</span>
								                                    </td>
								                                    <td class="tdContent">
								                                        <span style="color:Gray;">未填写</span>
								                                    </td>
								                                    <td class="tdContent">
								                                        <span>联系人</span>
								                                    </td>
								                                    <td class="tdContent">
								                                        <span>未填写</span>
								                                    </td>
					                                        	</tr>
					                                        	<tr>
								                                    <td class="tdContent"><span>联系电话</span></td>
								                                    <td class="tdContent">
								                                        <span>未填写</span>
								                                    </td>
								                                    <td class="tdContent"><span>联系人邮箱</span></td>
								                                    <td class="tdContent">
								                                        <span>未填写</span>
								                                    </td>
								                                </tr>
                                        					</div>
                                        				</tbody>
                                        			</table>
                                        		</td>
                                        	</tr>
                                        	<!-- 勘察单位 -->
                                        	<tr>
                                        		<td class="tdTitle">勘察单位</td>
                                                <td colspan="4" style="padding:0">
                                                	<table class="table" cellspacing="1" cellpadding="0" rules="all" border="0" style="table-layout: fixed; width: 100%;word-break:break-all;background-color: #ffffff;">
                                        				<tbody>
	                                        				<div th:if="${cd != null && cd.relatedProspectUnitsList !=null && cd.relatedProspectUnitsList.size()!=0}" th:each="rpu,stat : ${cd.relatedProspectUnitsList}">
		                                        				<tr>
	                                        						<td class="tdContent">
	                                        							<span>单位名称</span>
	                                        						</td>
	                                        						<td class="tdContent">
					                                                    <span>
					                                                    	<a th:if="${rpu == null || rpu.Guid == '' || rpu.Guid == null}" style="color:Gray;">未填写</a>
                                                							<a th:if="${rpu != null && rpu.Guid != '' && rpu.Guid != null}" href="#" th:onclick="detailQiYeTab([[${rpu.Name}]],[[${rpu.Guid}]])" style="color:#0026FF;">[[${rpu.Name}]]</a>
					                                                    </span>
	                                        						</td>
	                                        						<td class="tdContent"><span>勘察资质</span></td>
	                                                    			<td class="tdContent">
	                                                    				<span th:text="${rpu}==null or ${rpu.CertLevel}==null or ${rpu.CertLevel}=='' ? '未填写':${rpu.CertLevel}"></span>
	                                                    			</td>
	                                        					</tr>
	                                        				</div>
	                                        				<div th:if="${cd == null || cd.relatedProspectUnitsList ==null || cd.relatedProspectUnitsList.size()==0}">
		                                        				<tr>
	                                        						<td class="tdContent">
	                                        							<span>单位名称</span>
	                                        						</td>
	                                        						<td class="tdContent">
					                                                    <span>
					                                                    	<a style="color:Gray;">未填写</a>
					                                                    </span>
	                                        						</td>
	                                        						<td class="tdContent"><span>勘察资质</span></td>
	                                                    			<td class="tdContent">
	                                                    				<span>未填写</span>
	                                                    			</td>
	                                        					</tr>
	                                        				</div>
                                        				</tbody>
                                        			</table>  		
                                                </td>
                                        	</tr>
                                        	
                                        </tbody>
                                    </table>
                               </td>
                            </tr>
                            <!-- 建设单位 勘察单位 end -->
                            <!-- 设计单位 -->
                            <tr>
                            	<td>
                            		<table class="table table-bordered" cellspacing="1" cellpadding="0" rules="all" border="0" style="table-layout: fixed; width: 100%;word-break:break-all;background-color: #ffffff;">
                            			<tbody>
                            				<tr>
                            					<td class="tdTitle" rowspan="8">设计单位</td>
                            					<td colspan="4" style="padding:0">
                            						<table class="table" cellspacing="1" cellpadding="0" rules="all" border="0" style="table-layout: fixed; width: 100%;word-break:break-all;background-color: #ffffff;">
                                        				<tbody>
                                        					<div th:if="${cd != null && cd.relatedDesignUnitsList !=null && cd.relatedDesignUnitsList.size()!=0}" th:each="rdu,stat : ${cd.relatedDesignUnitsList}">
	                                        					<tr>
	                                        						<td class="tdContent"><span>单位名称</span></td>
				                                                    <td class="tdContent">
					                                                    <span>
					                                                    	<a th:if="${rdu == null || rdu.Guid == '' || rdu.Guid == null}" style="color:Gray;">未填写</a>
                                                							<a th:if="${rdu != null && rdu.Guid != '' && rdu.Guid != null}" href="#" th:onclick="detailQiYeTab([[${rdu.Name}]],[[${rdu.Guid}]])" style="color:#0026FF;">[[${rdu.Name}]]</a>
					                                                    </span>
				                                                    </td>
					                                                <td class="tdContent"><span>设计资质</span></td>
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.CertLevel}==null or ${rdu.CertLevel}=='' ? '未填写':${rdu.CertLevel}"></span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>法人代表</span></td>
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.LeadMan}==null or ${rdu.LeadMan}=='' ? '未填写':${rdu.LeadMan}"></span>
					                                                </td>    
					                                                <td class="tdContent"><span>联系人</span></td>    
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.LinkMan}==null or ${rdu.LinkMan}=='' ? '未填写':${rdu.LinkMan}"></span>
					                                                </td>
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>联系电话</span></td>
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.LinkTel}==null or ${rdu.LinkTel}=='' ? '未填写':${rdu.LinkTel}"></span>
					                                                </td>    
					                                                <td class="tdContent"><span>联系人邮箱</span></td>
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.LinkEMail}==null or ${rdu.LinkEMail}=='' ? '未填写':${rdu.LinkEMail}"></span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>设计合同金额(万元)</span></td>
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.DesignContractAmount}==null or ${rdu.DesignContractAmount}=='' ? '未填写':${rdu.DesignContractAmount}"></span>
					                                                </td>    
					                                                <td class="tdContent"><span></span></td>
					                                                <td class="tdContent">
					                                                    <span></span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>总工</span></td>
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.Performs}==null or ${rdu.Performs}=='' ? '未填写':${rdu.Performs}"></span>
					                                                </td>    
					                                                <td class="tdContent"><span>身份证号</span></td>
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.PerformsIDCard}==null or ${rdu.PerformsIDCard}=='' ? '未填写':${rdu.PerformsIDCard}"></span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>项目负责人</span></td>
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.ProjectDir}==null or ${rdu.ProjectDir}=='' ? '未填写':${rdu.ProjectDir}"></span>
					                                                </td>    
					                                                <td class="tdContent"><span>身份证号</span></td>
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.ProjectDirIDCard}==null or ${rdu.ProjectDirIDCard}=='' ? '未填写':${rdu.ProjectDirIDCard}"></span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>院长</span></td>
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.Dean}==null or ${rdu.Dean}=='' ? '未填写':${rdu.Dean}"></span>
					                                                </td>    
					                                                <td class="tdContent"><span>身份证号</span></td>
					                                                <td class="tdContent">
					                                                    <span th:text="${rdu}==null or ${rdu.DeanIDCard}==null or ${rdu.DeanIDCard}=='' ? '未填写':${rdu.DeanIDCard}"></span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
					                                                <td class="tdTitle">设计人员名单</td>
					                                                <td colspan="3" class="tdContent">
					                                                    <table class="ListNewStyle" cellspacing="1" cellpadding="0"
					                                                        rules="all" border="0"
					                                                        style="background-color: #ffffff; width: 100%;">
					                                                        <tbody>
					                                                            <tr th:if="${rdu.wdDesinerList !=null && rdu.wdDesinerList.size()!=0}">
					                                                                <th class="ListNewHead_Center">专业名称</th>
					                                                                <th class="ListNewHead_Center">担任角色</th>
					                                                                <th class="ListNewHead_Center">姓名</th>
					                                                                <th class="ListNewHead_Center">身份证号</th>
					                                                                <th class="ListNewHead_Center">注册类型及等级</th>
					                                                                <th class="ListNewHead_Center">职业印章号</th>
					                                                            </tr>
					                                                            <tr th:if="${rdu.wdDesinerList !=null && rdu.wdDesinerList.size()!=0}" th:each="wd,stat : ${rdu.wdDesinerList}">
					                                                                <td class="ListNewItem_Center" th:text="${wd.Major}"></td>
					                                                                <td class="ListNewItem_Center" th:text="${wd.AssumeRole}"></td>
					                                                                <td class="ListNewItem_Center" th:text="${wd.Name}"></td>
					                                                                <td class="ListNewItem_Center" th:text="${wd.IDCard}"></td>
					                                                                <td class="ListNewItem_Center" th:text="${wd.RegistrationType}"></td>
					                                                                <td class="ListNewItem_Center" th:text="${wd.OccupationNum}"></td>
					                                                            </tr>
					                                                        </tbody>
					                                                    </table>
					                                                </td>
					                                            </tr>
                                        					</div>
                                        					<div th:if="${cd == null || cd.relatedDesignUnitsList ==null || cd.relatedDesignUnitsList.size()==0}">
	                                        					<tr>
	                                        						<td class="tdContent"><span>单位名称</span></td>
				                                                    <td class="tdContent">
					                                                    <span>
					                                                    	<a style="color:Gray;">未填写</a>
					                                                    </span>
				                                                    </td>
					                                                <td class="tdContent"><span>设计资质</span></td>
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>法人代表</span></td>
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>    
					                                                <td class="tdContent"><span>联系人</span></td>    
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>联系电话</span></td>
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>    
					                                                <td class="tdContent"><span>联系人邮箱</span></td>
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>设计合同金额(万元)</span></td>
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>    
					                                                <td class="tdContent"><span></span></td>
					                                                <td class="tdContent">
					                                                    <span></span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>总工</span></td>
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>    
					                                                <td class="tdContent"><span>身份证号</span></td>
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>项目负责人</span></td>
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>    
					                                                <td class="tdContent"><span>身份证号</span></td>
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
	                                        						<td class="tdContent"><span>院长</span></td>
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>    
					                                                <td class="tdContent"><span>身份证号</span></td>
					                                                <td class="tdContent">
					                                                    <span>未填写</span>
					                                                </td>   
	                                        					</tr>
	                                        					<tr>
					                                                <td class="tdTitle">设计人员名单</td>
					                                                <td colspan="3" class="tdContent">
					                                                    <table class="ListNewStyle" cellspacing="1" cellpadding="0"
					                                                        rules="all" border="0"
					                                                        style="background-color: #ffffff; width: 100%;">
					                                                        <tbody>
					                                                        </tbody>
					                                                    </table>
					                                                </td>
					                                            </tr>
                                        					</div>
				                                            
                                        				</tbody>
                                        		    </table>		
                            					</td>
                            				</tr>
                            			</tbody>
                            		</table>
                            	</td>
                            </tr>
                            <!-- 设计单位 end-->
                            <tr>
                                <td>
                                    <table cellpadding="0" cellspacing="0" class="table table-bordered" style="table-layout: fixed; width: 100%;word-break:break-all;background-color: #ffffff; width: 100%;" align="center">
                                    	<tbody id="accbody">
                                    	
                                    	</tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </form>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
    	
        $(document).ready(function () {
        	var str=[[${wbc}]]
        	var s=[[${wdUnitProList}]];
        	var accArr = [
        		{acceId:'设计单位资质证书、设计人员注册师证书、设计合同书、外省设计院提供分支机构备案及单项备案',acceName:'未上传附件'},
        		{acceId:'批准立项文件',acceName:'未上传附件'},
        		{acceId:'工程预(概)计算书',acceName:'未上传附件'},
        		{acceId:'规划局盖章的报建文本',acceName:'未上传附件'},
        		{acceId:'经审查合格的岩土工程勘查报告、合格书',acceName:'未上传附件'},
        		{acceId:'建筑节能设计模型',acceName:'未上传附件'},
        		{acceId:'建筑施工图',acceName:'未上传附件'},
        		{acceId:'建筑节能审查表、专业计算书',acceName:'未上传附件'},
        		{acceId:'结构施工图',acceName:'未上传附件'},
        		{acceId:'结构专业计算书',acceName:'未上传附件'},
        		{acceId:'给排水施工图',acceName:'未上传附件'},
        		{acceId:'给排水专业计算书',acceName:'未上传附件'},
        		{acceId:'电气施工图',acceName:'未上传附件'},
        		{acceId:'电气专业计算书',acceName:'未上传附件'},
        		{acceId:'暖通施工图',acceName:'未上传附件'},
        		{acceId:'暖通专业计算书',acceName:'未上传附件'},
        		{acceId:'其他施工图纸',acceName:'未上传附件'},
        		{acceId:'其他计算书',acceName:'未上传附件'},
        		{acceId:'超限专项审查报告、住建厅超限高层建筑抗震设防专项意见书、专家组审查意见及回复、工程场地地震安全性评估报告及评审意见',acceName:'未上传附件'},
        		{acceId:'深基坑或高边坡专家论证报告',acceName:'未上传附件'}
        	];
        	
        	var file=[[${pa}]];
        	for(var i=0;i<accArr.length;i++){
        		for(var j=0;j<file.length;j++){
    				if(accArr[i].acceId == file[j].acceId){
    					accArr[i].acceName = file[j].acceName;
    				};
    			}
        	};
        	
        	var accArrNew = [];
        	for(var i=0;i<accArr.length-2;i++){
        		if(accArrNew.length == 10){
        			break;
        		}
        		if(i==0){
        			var acceIdOne = accArr[Number(i)].acceId;
            		var acceNameOne = accArr[Number(i)].acceName;
            		var acceIdTwo = accArr[Number(i+1)].acceId;
            		var acceNameTwo = accArr[Number(i+1)].acceName;
            		var obj = {acceIdOne:acceIdOne,acceNameOne:acceNameOne,acceIdTwo:acceIdTwo,acceNameTwo:acceNameTwo};
            		accArrNew.push(obj);
        		}else{
            		var acceIdOne = accArr[Number(2*i)].acceId;
            		var acceNameOne = accArr[Number(2*i)].acceName;
            		var acceIdTwo = accArr[Number(2*i+1)].acceId;
            		var acceNameTwo = accArr[Number(2*i+1)].acceName;
            		var obj = {acceIdOne:acceIdOne,acceNameOne:acceNameOne,acceIdTwo:acceIdTwo,acceNameTwo:acceNameTwo};
            		accArrNew.push(obj);
        		}
        	}
        	
        	var html ="";
        	for(var i=0;i<accArrNew.length;i++){
        		html += '<tr>' +
        				'<td class="tdContent" style="width:40px;text-align:center">'+ Number(2*i+1) +'</td>'+
        				'<td class="tdContent" style="background-color: #f7f7f7">'+accArrNew[i].acceIdOne + '</td>'+
        				'<td class="tdContent accherf" style="width: 10%">'+accArrNew[i].acceNameOne+'</td>'+
        				'<td class="tdContent" style="width:40px;text-align:center">'+ Number(2*i+1+1) +'</td>'+
        				'<td class="tdContent" style="background-color: #f7f7f7">'+accArrNew[i].acceIdTwo + '</td>'+
        				'<td class="tdContent accherf" style="width: 10%">'+accArrNew[i].acceNameTwo+'</td>'+
        				'</tr>'
        	}
        	$('#accbody').html(html);
        	$('.accherf').each(function(){
        		var str = $(this).text();
        		if(str != '未上传附件' && !$.common.isEmpty(str)){
        			var htmla = '<a href="'+ $(this).text() +'" target="_blank" style="color:blue">下载 </a>'
            			$(this).html(htmla)
        		}else{
        			$(this).css('color','gray');
        		}
        	});
            $('.nav_tabs li').click(function () {
                $(this).addClass('active').siblings().removeClass('active');
                var index = $(this).index();
                $(".tabsbody .tabsbody-item").eq(index).show().siblings().hide();
                if($(this).text() == '返回'){
             	   window.history.back(-1);
                };
            })
        });
        
        function detailQiYeTab(content,id){
        	url = "/enterprise/enterprise/detail/"+id;
        	$.modal.openTab(content+"详情", url);
        }
        
        function detailBuildTab(content,id){
        	url = "/enterprise/enterprise/bulidUnitDetail/"+id;
        	$.modal.openTab(content+"详情", url);
        }
    </script>
</body>

</html>